package com.duo.enums.errorcode;

import lombok.Getter;

@SuppressWarnings(value = "all")
@Getter
public enum DeleteNotAllowedCode implements StatusCode {

    DELETE_NOT_ALLOWED_CODE(400, "删除失败，该数据不允许删除");

    private int code;
    private String message;

    DeleteNotAllowedCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

}
